package com.ruoyi.common.core.rabbitmq;

public class RabbitMQ {

    public static final String SERVICE_ONE_EXCHANGE = "SERVICE_ONE_EXCHANGE";

    //生产者发送的消息将会被路由到绑定相同的路由key的队列上
    public static final String TEST_KEY_ROUTER = SERVICE_ONE_EXCHANGE+":TEST:ROUTER";

    //队列key，队列key必须要唯一否则启动时会报队列已经存在
    public static final String TEST_KEY_QUEUE = SERVICE_ONE_EXCHANGE+":TEST:QUEUE";

}
